package com.ccp.dev.form.model;

import com.ccp.dev.core.basic.model.BaseModel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 表单验证规则 Model对象
 *
 * @author chenjing
 */
@XmlRootElement(name = "rule")
@XmlAccessorType(XmlAccessType.NONE)
public class FormRule extends BaseModel
{
	/**
	 * 主键
	 */
	@XmlElement
	protected String  id = "";
	/**
	 * 规则名
	 */
	@XmlElement
	protected String  name = "";
	/**
	 * 规则别名
	 */
	@XmlElement
	protected String  alias = "";
	/**
	 * 规则
	 */
	@XmlElement
	protected String  rule = "";
	/**
	 * 备注
	 */
	@XmlElement
	protected String  memo = "";
	/**
	 * 提示信息
	 */
	@XmlElement
	protected String  tipInfo = "";

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getTipInfo() {
		return tipInfo;
	}

	public void setTipInfo(String tipInfo) {
		this.tipInfo = tipInfo;
	}
}